#pragma once

#include <opencv\highgui.h>

namespace TUMAR { namespace CountryRoads {
	enum GameStateEnum
	{
		Undefined,
		Waiting,
		Running,
		Won,
		Lost
	} typedef GameState;

	class Game
	{
	public:
		Game(void);
		~Game(void);

		// current game state
		GameState State;

		// time in seconds until user tile is locked in game board
		double TileLockTimeout;

		// time in seconds until character begins to move
		double MovementStartTimeout;
		
		// time in seconds between movement of character
		double MovementTimeout;

		double StartTime;

		double LastMovementTime;
		
		double GetElapsedTime(void) const;

		double GetTimeUntilMovementStart(void) const;

		double GetTimeUntilNextMovement(void) const;
	};
}}
